﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" Trace="true" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script runat="server">
        public void Page_Load(object sender, System.EventArgs e)
        {
            // Change the current path so that the Routing handler can correctly interpret
            // the request, then restore the original path so that the OutputCache module
            // can correctly process the response (if caching is enabled).
            //var url = Url.GenerateUrl<HomeController>(a => a.Index(), null);
            //Response.Redirect(url); 
            //string originalPath = Request.Path;
            //HttpContext.Current.RewritePath(Request.ApplicationPath, false);
            //IHttpHandler httpHandler = new MvcHttpHandler();
            //httpHandler.ProcessRequest(HttpContext.Current);
            //HttpContext.Current.RewritePath(originalPath, false);

            Response.Redirect("~/");
        }
    </script>
</head>
<body>
    <div>
    </div>
</body>
</html>
